#include <stdio.h>


int main()
{
	char ch1[80]={0};
	char ch2[80]={0};
	int i;
	int j=0;
	for(i=0;i<80;i++)
	{
		scanf("%c",&ch1[i]);
		if(ch1[i]>='A' && ch1[i]<='Z' || ch1[i]>='a' && ch1[i]<='z')
		{
			ch2[j]=ch1[i];
			j++;
		}
	}
	printf("%s",ch2);
	return 0;
}